{% extends 'base.html' %}
{% block title %}
<title>Index</title>
{% endblock %}
{% block contents %}
<div id="main">
	<div id="items">
		<table id="item-list" cellspacing="0" style="border-collapse:collapse">
			<thead>
				<tr>
					<th>title</th>
					<th>identity</th>
					<th>category</th>
					<th>number</th>
				</tr>
			</thead>
			<tbody>
			{% for item in items %}
				<tr class="{% cycle odd,even %}">
					<td><b class="{{ item.quantity }}"><a href="http://www.armory-light.com/items/{{item.identity}}/#interactive">{{ item.title }}</a></b></td>
					<td>{{ item.identity }}</td>
					<td>{{ item.category }}</td>
					<td>{{ item.number }}</td>
				</tr>
			{% endfor %}
			</tbody>
		</table>
	</div>
</div>
{% endblock %}